<div class="span10" id="_content" style="background: #fff;margin-left: 2px;position: relative;">
<table width="100%" style="margin: 0;padding: 0;">
        <tr>
        <td class="hzbar"></td>
        <td style="padding: 10px 15px;">
            <ul class="nav nav-tabs">
            <?php
            $class = $this->uri->segment(4);
                if($class == "post")
                    $post = 'active';
                else
                    $post ='';
                if($class == "category")
                    $category = 'active';
                else
                    $category='';
                if($class == "product")
                    $product = 'active';
                else
                    $product='';
                
            ?>
  <li class="<?php echo $post ?>"><?php echo anchor('administrator/setting/translate/post','Articles') ?></li>
  <li class="<?php echo $category ?>"><?php echo anchor('administrator/setting/translate/category','Categories') ?></li>
  <li class="<?php echo $product ?>"><?php echo anchor('administrator/setting/translate/product','Products') ?></li>
  
</ul>
    <div class="tab-content">
        <?php echo $form; ?>
    </div>
        </td>
    </tr>
</table>